<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>呼叫数据查看</title>
    <link rel="icon" href="../static/img/icon.png">
    <link rel="stylesheet" href="../static/js/layui/css/layui.css">
    <link rel="stylesheet" href="../static/css/animate.min.css">
    <link rel="stylesheet" href="../static/css/style.css">
    <style>
        #report-offset {
            display: flex;
            flex-direction: column;
        }

        #report-offset .layui-table-view {
            margin: 0;
            height: 100%;
        }

        #report-offset .layui-table td,
        .layui-table th {
            font-size: 0.18rem;
        }

        #report-offset .layui-table-header {
            background: #0b3444;
        }

        #report-offset .layui-table-header .layui-table {
            color: #40e4ff;
        }

        #table-tool-form {
            display: flex;
            color: #ccc;
            justify-content: space-between;
            height: 0.8rem;
            align-items: center;
        }

        .layui-table-tool-temp {
            padding: 0;
        }

        .layui-table-tool-self {
            display: none;
        }

        .layui-form-radio>.lay-skin-tag,
        .layui-form-checkbox>.lay-skin-tag {
            font-size: 0.18rem;
        }

        .layui-form-checked>.lay-skin-tag,
        .layui-form-radioed>.lay-skin-tag {
            color: #fff !important;
            background-color: #16b777 !important;
        }
    </style>

</head>

<body>
    <div class="app" style="overflow: hidden;">
        <div class="header animate__animated animate__slideInDown">
            <div class="header-title">训战研判系统平台</div>
            <div class="header-menu">

            </div>
        </div>
        <div class="contain">
            <div class="contain-menu animate__animated animate__slideInLeft">

            </div>
            <div class="contain-table">
                <div class="contain-table-tool">
                    <form class="layui-form" action=""
                        style="background: linear-gradient(to right, rgba(0,0,0,0),rgba(2, 36, 55,0.8));padding-left: 0.05rem;">
                        <div class="form-item">
                            <input type="text" name="name" placeholder="设备名称" class="layui-input" lay-affix="clear" />
                        </div>
                        <div class="form-item">
                            <input type="text" name="code" placeholder="编码查询" class="layui-input" lay-affix="clear" />
                        </div>

                        <select name="eventType" lay-filter="eventType">
                            <option value="">状态</option>
                            <option value="0">正常</option>
                            <option value="11">门岗呼叫</option>
                            <option value="21">电池低压</option>
                            <option value="22">拆卸告警</option>
                        </select>
                        <div class="layui-btn" lay-submit lay-filter="search"><img src="../static/img/icon2.png">查询
                        </div>
                        <button type="reset" id="resetSearch"
                            class="layui-btn layui-btn-primary btn-reset layui-hide">重置</button>
                    </form>
                </div>
                <div class="contain-table-list">
                    <table id="table" lay-filter="table"></table>
                </div>
            </div>
            <script type="text/html" id="table-tool">
                    <form class="layui-form" id="table-tool-form">
                        <div class="form-item" style="margin-left: 0.4rem;">
                            <input lay-filter="event-filter" type="radio" name="eventType" value="" lay-skin="none" checked>
                            <div lay-radio class="lay-skin-tag layui-badge">全部</div>
                            <input lay-filter="event-filter" type="radio" name="eventType" value="0" lay-skin="none">
                            <div lay-radio class="lay-skin-tag layui-badge">正常</div>
                            <input lay-filter="event-filter" type="radio" name="eventType" value="11" lay-skin="none">
                            <div lay-radio class="lay-skin-tag layui-badge">门岗呼叫</div>
                            <input lay-filter="event-filter" type="radio" name="eventType" value="21" lay-skin="none">
                            <div lay-radio class="lay-skin-tag layui-badge">电池低压</div>
                            <input lay-filter="event-filter" type="radio" name="eventType" value="22" lay-skin="none">
                            <div lay-radio class="lay-skin-tag layui-badge">拆卸告警</div>
                        </div>
                        <div class="form-item">
                            <input type="text" class="layui-input" name="history_date" id="history-date"  lay-affix="clear" placeholder="请选择时间范围">
                        </div>
                    </form>
                    <table id="record-table" lay-filter="record-table"></table>
                </script>
        </div>
    </div>



    <script type="text/javascript" src="../static/js/util/jquery.min.js"></script>
    <script type="text/javascript" src="../static/js/biz/app.js"></script>
    <script type="text/javascript" src="../static/js/layui/layui.js"></script>
    <script type="text/javascript" src="../static/js/biz/callData.js"></script>
</body>

</html>